package com.sos.vo;

import java.util.ArrayList;

import org.apache.http.NameValuePair;
import org.apache.http.message.BasicNameValuePair;
/***
 * 求救信息
 * */
public class SosInfo {
	private int soId;
	private String soTime="";
	private String soName="";
	private String soLat="";
	private String  soLon="";
	private String  soAddress="";
	private String  soUserPhone="";
	private String  soPhoneId="";
	
	public String toString()
	{
		String ret="";
		ret="soName="+this.soName+"&soLat="+this.soLat+"&soLon="+this.soLon+"&soAddress="+this.soAddress+"&soUserPhone="+this.soUserPhone+"&soPhoneId="+this.soPhoneId;
		return ret;
		
	}
	public ArrayList<NameValuePair> toPar()
	{
		ArrayList<NameValuePair> params = new ArrayList<NameValuePair>();
		params.add(new BasicNameValuePair("soName", this.soName));
		params.add(new BasicNameValuePair("soLat", this.soLat));
		params.add(new BasicNameValuePair("soLon", this.soLon));
		params.add(new BasicNameValuePair("soAddress", this.soAddress));
		params.add(new BasicNameValuePair("soUserPhone", this.soUserPhone));
		params.add(new BasicNameValuePair("soPhoneId", this.soPhoneId));
		return params;
	}
	public int getSoId() {
		return soId;
	}
	public void setSoId(int soId) {
		this.soId = soId;
	}
	public String getSoTime() {
		return soTime;
	}
	public void setSoTime(String soTime) {
		this.soTime = soTime;
	}
	public String getSoName() {
		return soName;
	}
	public void setSoName(String soName) {
		this.soName = soName;
	}
	public String getSoLat() {
		return soLat;
	}
	public void setSoLat(String soLat) {
		this.soLat = soLat;
	}
	public String getSoLon() {
		return soLon;
	}
	public void setSoLon(String soLon) {
		this.soLon = soLon;
	}
	public String getSoAddress() {
		return soAddress;
	}
	public void setSoAddress(String soAddress) {
		this.soAddress = soAddress;
	}
	public String getSoUserPhone() {
		return soUserPhone;
	}
	public void setSoUserPhone(String soUserPhone) {
		this.soUserPhone = soUserPhone;
	}
	public String getSoPhoneId() {
		return soPhoneId;
	}
	public void setSoPhoneId(String soPhoneId) {
		this.soPhoneId = soPhoneId;
	}
	
}
